package com.base.mapper.couponmapper;

import com.base.po.coupon_prestore.CouponGoodsPrestore;
import com.base.po.coupon_prestore.CouponGoodsPrestoreExample;
import java.util.List;

import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface CouponGoodsPrestoreMapper {
    int countByExample(CouponGoodsPrestoreExample example);

    int deleteByExample(CouponGoodsPrestoreExample example);

    int insert(CouponGoodsPrestore record);

    int insertSelective(CouponGoodsPrestore record);

    List<CouponGoodsPrestore> selectByExample(CouponGoodsPrestoreExample example);

    CouponGoodsPrestore selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CouponGoodsPrestore record, @Param("example") CouponGoodsPrestoreExample example);

    int updateByExample(@Param("record") CouponGoodsPrestore record, @Param("example") CouponGoodsPrestoreExample example);

    int updateByPrimaryKeySelective(CouponGoodsPrestore record);

    List<CouponGoodsPrestore> selectAll(@Param("page") Page page, @Param("parentId") String parentId, @Param("brandId") String brandId);

    int countAll(@Param("parentId") String parentId, @Param("brandId") String brandId);

    List<CouponGoodsPrestore> selectAllDetail(@Param("page") Page page, @Param("parentId") String parentId, @Param("brandId") String brandId);
}